package com.campus.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class TeachingEvaluation {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer stuInClassId; // 学员在班级中的ID
    private String grade; // 评价等级：优秀0；良好1；中等2；较差3
    private String evaluation; // 评价内容

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss", timezone = "GMT+8")
    private Date evaluatedTime; // 评价时间

    private Integer courseId; // 课程ID
    private Integer evaluator; // 评价教师ID
}
